package com.base.cn.platform.os.entity.user.integral;

import com.base.cn.platform.os.common.mybatis.BaseEntity;
import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.TreeMap;

/**
 * 积分规则
 */
@Data
public class IntegralRule extends BaseEntity {
    private String key;            // 积分规则 key
    private String description;    // 规则的描述
    private String value;          // 值 json 字符串
    private Boolean isList;        // value 中是否有集合参数
    private String type;           // CONFIG 积分配置 ， RULE  积分规则

    private TreeMap<String,String> contextTreeMap;
    private List<Map<String,String>> contextList;

}
